home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16604 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: ups02.cit.cornell.edu!user
  2. From: jsm16@cornell.edu (James Margaris)
  3. Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
  4. Subject: Re: Young programmers read me.
  5. Date: Thu, 11 Apr 1996 09:59:08 -0400
  6. Organization: Cornell University
  7. Sender: jsm16@cornell.edu (Verified)
  8. Message-ID: <jsm16-1104960959080001@ups02.cit.cornell.edu>
  9. References: <4icpp9$7hr@barad-dur.nas.com> <aidan-0404961557290001@meathook.intac.com> <3165AD94.6F3A@datalytics.com> <j-jahnke-0604960016160001@ntcs-ip8.uchicago.edu> <4keejc$lpi@tpd.dsccc.com> <Pine.OSF.3.91.960411093444.20958D-100000@bud.cc.swin.edu.au> <gfarrow.829193316@rainbow>
  10. NNTP-Posting-Host: ups02.cit.cornell.edu
  11.  
  12. In article <gfarrow.829193316@rainbow>, gfarrow@rainbow.rmii.com (Glenn
  13. Farrow) wrote:
  14.  
  15. > John Joseph Newbigin <079519@bud.cc.swin.edu.au> writes:
  16. > >But it is a lot easier to read
  17. > >if(something_happened)
  18. > >{
  19. > >     do_something_else();
  20. > >}
  21. > >is_n't_it();   :)
  22. > Nonesense.  This style is extremely annoying because it spreads the code out
  23. > too much, it increases the amount you have to page around a source file.  
  24. > Putting "{" on a separate line is a waste of space that should be occupied
  25. > by code.
  26. >                                                         Glenn
  27.  
  28.    It seems to me that addding a few extra lines is well worth the
  29. readability. Matching up curly braces is so much easier when they are
  30. indented to the same level.
  31.  
  32.                                              James Margaris
  33.